//
//  CHComposeController.swift
//  status
//
//  Created by 彳亍 on 2017/3/22.
//  Copyright © 2017年 彳亍. All rights reserved.
//

import UIKit

class CHComposeController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        //FIXME: 测试
        view.backgroundColor = UIColor.ch_randomColor()
    }

    /// 关闭
    private func close() {
        dismiss(animated: true, completion: nil)
    }
    
    /// touchesBegan
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        close()
    }

}
